package com.mmd.admin.model.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.mmd.base.pojo.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * <p>
 * 行业
 * </p>
 *
 * @author ${author}
 * @since 2023-05-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("life_serve_industry")
@ApiModel(value="Industry对象", description="行业")
public class Industry extends BaseEntity<Industry> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "行业id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty("保证金额")
    private BigDecimal ensureMoney;
}
